package com.ruoyi.back.domain

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableLogic
import com.baomidou.mybatisplus.annotation.TableName
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import javax.persistence.*

@Entity
@TableName("fly_watermark_setting")
@Table(name = "fly_watermark_setting")
@ApiModel("app软件水印设置")
data class AppWatermarkSetting(

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id 更新的时候需要传递")
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    var id: Long? = null,

    @ApiModelProperty("app水印")
    var watermark: String? = null,

    @ApiModelProperty(hidden = true)
    @TableLogic
    var deleted: Int? = 0
)
